package com.meow_woof;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication(
        exclude = {
                org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration.class,
                SqlInitializationAutoConfiguration.class // 添加这一行来排除SQL初始化自动配置
        }
)
@EnableAspectJAutoProxy(exposeProxy = true)
@MapperScan("com.meow_woof.mapper")
public class MeowWoofDianPingApplication {

    public static void main(String[] args) {
        SpringApplication.run(MeowWoofDianPingApplication.class, args);
    }

}